/**
 *  @file       filter.css
 *  @brief      reset css styles
 *
 *
 *  @author     liumoran@outlook.com
 *  @version    1.0
 *  @date       2019
*/

/* define part */

label {
  user-select: none;
}

.w_100 {
  width: 100%;
}
/* inhert part */
.green {
  background-color: #a9cf90;
}
.gray {
  background-color: #f9f9f9;
}

.label_task_id {
  padding-left: 19.47px;
  padding-right: 19.47px;
}

.btn_cancel {
  padding: 5px 31.8px;
}

.item_box {
  margin: 0;
  font-size: 0;

  .item_title {
    width: 20%;
    float: left;

    .list-group-item {
      font-size: 14px;
      // padding: 0;
    }
  }
}

.nav-tabs > label > li {
  float: left;
  margin-bottom: -1px;
}

.item_label {
  // padding-left: 10px;
  box-sizing: border-box;
  padding: 10px 15px;
  margin-bottom: 0;
  // border-left:1px solid black;
}

input {
  border: 0;
  outline: none;
  background-color: rgba(0, 0, 0, 0);
}

.btn_ft_yes,
.btn_ft_no {
  padding-left: 40px;
  padding-right: 40px;
  margin-right: 20px;
}
/* top right */
.show_box {
  padding-top: 10px;
}

.show {
  // background-color: red;
  font-size: 0;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 10px;
}

.tltle_box {
  display: inline-block;
  width: calc(47% - 5px);
  vertical-align: top;
  margin-right: 5px;
  background-color: #5cb85c;
  border-radius: 5px;
  color: white;
  min-height: 34px;
  font-size: 14px;
  line-height: 34px;
  text-align: center;
  margin-bottom: 8px;

  p {
    text-align: left;
    padding-top: 8px;
    padding-left: 2px;
    line-height: 16px;
  }
}

.text_box {
  margin-left: 5px;
  margin-bottom: 8px;
  padding: 5px;
  display: inline-block;
  vertical-align: top;
  width: calc(53% - 5px);
  background-color: #c6dfb5;
  min-height: 34px;
  font-size: 14px;
  line-height: 34px;
  text-align: left;

  p {
    padding-top: 8px;
    padding-left: 2px;
    line-height: 16px;
  }

  .img_box {
    margin: 0 auto;
    width: 100%;

    img {
      width: 100%;
    }
  }
}

.height_80 {
  min-height: 80px;
}

.height_120 {
  min-height: 120px;
}

/* checkbox */
.checkbox {
  display: inline-block;
}
.cbl {
  user-select: none;
  // background-color: pink;
}
#cb0,
#cb_risk {
  display: none;
}
#filter_table {
  display: none;
}
#lab_filter {
  padding-left: 50px;
  padding-right: 50px;
}

/* ----------detail page--------------- */
.detail_page {
  .col-sm-4 {
    padding-left: 25px;
    padding-right: 25px;
  }
  .panel {
    margin-bottom: 15px;
  }
  .panel-success {
    border-color: #5cb85c;
    .panel-heading {
      padding: 5px 12px;
      color: #ffffff;
      background-color: #5cb85c;
      border-color: #5cb85c;
      .panel-title {
        font-weight: normal;
      }
    }
    .panel-body {
      padding: 5px 15px;
      .p_area {
        float: left;
      }
      p {
        margin: 0;
        font-size: 12px;
      }
      .btn_area {
        float: right;
      }

      .img_box {
        margin: 0 auto;
        width: 50%;
        img {
          width: 100%;
        }
      }
    }
  }
}

.table_input {
  width: 75%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* --------------search part------- */
.input_text,
.input_search {
  padding-left: 7px;
  width: 230px;
  height: 46px;
  margin-bottom: 7px;
  border: 1px solid #6b6b6b;
  border-radius: 5px;
}

#btn_search {
  outline: none;
}

/* -------------position----------- */
.task_detail {
  position: fixed;
  right: 0;
  left: 0;
  z-index: 1031;
  padding-top: 15px;
  background-color: #fff;
}

.task_tab {
  margin-top: 15px;
}
//----------------------
.img_box {
  width: 100%;
  overflow: hidden;
  border: 1px solid black;
  margin-bottom: 15px;
  img {
    width: 100%;
  }
}
//-----------
table{
    font-size: 14px;
    margin-bottom: 0 !important;


}
#head1 {
    background-color: #5cb85c;
    color: white;
    font-size: 16px;
    font-weight: normal;
    user-select: none;

    th{
        &:nth-of-type(2) {

        }
        &:nth-of-type(3) {
        //   background-color: red;
        }
        &:nth-of-type(4) {
        //   background-color: red;
          width: 100px;
        }
        &:nth-of-type(5) {
        //   background-color: pink;
          width: 100px;
        }
        &:nth-of-type(6) {
        //   background-color: red;
        }
    }

}

.part1{
    background-color: rgba($color: #000000, $alpha: 0.05);
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    p{
        text-indent: 2em;
    }
}

.part2{
    font-size: 0;
    border: 1px solid #5cb85c;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.part3{
    font-size: 0;
    .p3_left, .p3_right{
        display: block;
        box-sizing: border-box;
        border: 1px solid transparent;
        // width: 50%;
        min-height: 100px;
    }
    .p3_left{
        // background-color: red;
        width: 40%;
    }
    .p3_right{
        // background-color: pink;
        width: 100%;
        border: 1px solid black;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        overflow: hidden;
    }
}

#tab2{
    width: 100%;
    thead{
        background-color: #fff;
        tr{
            th{
                width: 8.3%;
            }
        }
    }
}